New footer and landing page translations typos fixes

jamesperet 10 years ago
parent
commit
ff395a0f88

+ 68 - 0
app/assets/stylesheets/start.css.less

@@ -322,4 +322,72 @@ color: white;
322 322
 		text-transform: uppercase;
323 323
 	}
324 324
 	
325
+}
326
+
327
+// Footer
328
+
329
+.footer-white {
330
+	font-family: "Avenir";
331
+	font-weight: 600;
332
+	text-align: center;
333
+	color: #1D1D26;
334
+	margin-top: 50px;
335
+}
336
+
337
+.footer-white a {
338
+	color: #1D1D26;
339
+	font-weight: bold;
340
+}
341
+
342
+.footer-white a:hover {
343
+	color: #55B3DA;
344
+	font-weight: bold;
345
+	text-transform: underline;
346
+}
347
+
348
+footer .column .column-inner {
349
+	min-height: 90px
350
+}
351
+
352
+footer .column .column-inner.centered {
353
+	min-height: 75px
354
+}
355
+
356
+.column {
357
+	width: 20%;
358
+	float: left;
359
+}
360
+
361
+.column-inner {
362
+	padding-left: 10px;
363
+	padding-right: 10px;
364
+	padding-top: 10px;
365
+	border-right: 1px solid #1D1D26;
366
+}
367
+
368
+.column-inner.first {
369
+	margin-left: 30px;
370
+}
371
+
372
+.column-inner.last {
373
+	border-right: none;
374
+	margin-right: 30px;
375
+}
376
+
377
+.column-inner.centered {
378
+	padding-top: 25px;
379
+}
380
+		
381
+footer .column .column-inner i {
382
+	margin-right: 15px;
383
+	margin-left: 15px;
384
+}
385
+
386
+footer .copyright {
387
+	margin-top: 10px;
388
+	text-transform: uppercase;
389
+}
390
+
391
+footer hr {
392
+	margin-bottom: 10px;
325 393
 }

+ 54 - 74
app/views/start/index.html.erb

@@ -291,79 +291,59 @@
291 291
       <%= f.submit (t 'subscription.submit'), class: 'btn btn-large', id: 'submit_subscription' %>
292 292
     <% end %>
293 293
 </div>
294
-
295
-
296
-
297
-
298
-
299
-
300
-<div style="margin-top: 0px;">
301
-	<footer class="velvet">
302
-	  <hr style="border-top: 1px solid #ffffff; border-bottom: 1px solid #ffffff;">
303
-	  
304
-	<div class="container nav-collapse">
305
-
306
-		
307
-	</div>
294
+	
295
+<footer class="footer-white">
308 296
 	<div class="container">
309
-		<div class="row" style="margin-top: 25px;">
310
-			
311
-			<div class="span2" >
312
-				
313
-			    <div class="pull-left hidden-phone" style="margin-right: 20px;">
314
-		    	     <ul class="nav btn">
315
-		    	          <li class="dropdown">
316
-		    	            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
317
-		    	              <%= t('landing_page.lang') %>
318
-		    	              <span class="caret"></span>
319
-		    	            </a>
320
-		    	            <ul class="dropdown-menu dropdown-menu-right" role="menu">
321
-		    	              <li>
322
-		    	                <%= link_to t('landing_page.en'), change_locale_path(:en) %>
323
-		    	              </li>
324
-		    	              <li>
325
-		    	                <%= link_to t('landing_page.pt-BR'), change_locale_path(:"pt-BR") %>
326
-		    	              </li>
327
-		    	            </ul>
328
-		    	          </li>
329
-		    	        </ul>
330
-			    </div >
331
-		    </div>
332
-			    <div class="span4 footer-links" style="margin-top: 4px;">
333
-				    <p style="text-align: center;">
334
-		 		    <a class="btn-about" href="#about"><%= (t "landing_page.about").html_safe %></a>
335
-		 		    <a class="btn-features" href="#features"><%= (t "landing_page.features").html_safe %></a>
336
-		 		    <a class="btn-subscribe" href="#subscribe"><%= (t "landing_page.subscribe").html_safe %></a>
337
-		 		    <%= link_to (t "registration.sign_in"), new_user_session_path, class: "btn-login" %>
338
-				    </p>
339
-			    </div>
340
-			    
341
-			    <div class="span2" style="padding-top: 5px;">
342
-				    <p style="text-align: center;">
343
-				    <a class="twitter-follow-button"
344
-				      href="https://twitter.com/twitterdev"
345
-				      data-show-count="false"
346
-				      data-lang="en">
347
-				    Follow @twitterapi
348
-				    </a>
349
-				    <script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));</script>
350
-			    	</p>
351
-			    </div>
352
-			    <div class="span2" style="padding-top: 5px;">
353
-				    <p style="text-align: center;">
354
-				    <iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&amp;width&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;share=true&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:21px;" allowTransparency="true"></iframe>
355
-			    		</p>
297
+		<div class="row">
298
+			<div class="column first">
299
+				<div class="column-inner first centered">
300
+			    	     <ul class="nav btn">
301
+			    	          <li class="dropdown">
302
+			    	            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
303
+			    	              <%= t('landing_page.lang') %>
304
+			    	              <span class="caret"></span>
305
+			    	            </a>
306
+			    	            <ul class="dropdown-menu dropdown-menu-right" role="menu">
307
+			    	              <li>
308
+			    	                <%= link_to t('landing_page.en'), change_locale_path(:en) %>
309
+			    	              </li>
310
+			    	              <li>
311
+			    	                <%= link_to t('landing_page.pt-BR'), change_locale_path(:"pt-BR") %>
312
+			    	              </li>
313
+			    	            </ul>
314
+			    	          </li>
315
+			    	      </ul>
316
+				 </div>
317
+			 </div>
318
+			 <div class="column">
319
+				 <div class="column-inner">
320
+  		 		    <a class="btn-about" href="#about"><%= (t "landing_page.about").html_safe %></a><br>
321
+  		 		    <a class="btn-features" href="#features"><%= (t "landing_page.features").html_safe %></a><br>
322
+  		 		    <a class="btn-subscribe" href="#subscribe"><%= (t "landing_page.subscribe").html_safe %></a><br>
323
+  		 		    <%= link_to (t "registration.sign_in"), new_user_session_path, class: "btn-login" %><br>
356 324
 			    </div>
357
-			    <div class="span2" style="padding-top: 5px;">
358
-				    <p style="text-align: right;">
359
-					    <a href="https://mixpanel.com/f/partner"><img src="//cdn.mxpnl.com/site_media/images/partner/badge_light.png" alt="Mobile Analytics" /></a>
360
-				    </p>
361
-			    </div>
362
-		    </div>
363
-				<hr style="margin-top: 20px; border-top: 1px solid #000000;">
364
-				<p class="footer" style="text-align: center;">&copy; Avalanche Network <%= Time.now.year %></p>
365
-			  </div>
366
-		  </div>
367
-	  </div>
368
-	</footer>
369
-</div>
325
+			 </div>
326
+			 <div class="column">
327
+				 <div class="column-inner">
328
+				 	<p><%= t 'contact.contact'%><br><a href="mailto:<%= t 'contact.email_contact'%>@avalanche.network"><%= t 'contact.email_contact'%>@avalanche.network</a><br><%= t 'contact.current_location'%></p>
329
+				 </div>
330
+			 </div>
331
+			 <div class="column">
332
+				 <div class="column-inner centered">
333
+					 <a href="https://www.facebook.com/pages/Avalanche-Network/932907863393529"><i class="fa fa-facebook-square fa-4x"></i></a>
334
+				 	 <a href="https://twitter.com/avalanche_net"><i class="fa fa-twitter fa-4x"></i></a>
335
+				</div>
336
+			 </div>
337
+			 <div class="column">
338
+				 <div class="column-inner last centered">
339
+				  	<a href="https://mixpanel.com/f/partner"><img src="//cdn.mxpnl.com/site_media/images/partner/badge_light.png" alt="Mobile Analytics" /></a>
340
+				</div>
341
+			 </div>
342
+		</div>
343
+		<div class="row">
344
+			<hr style="margin-top: 20px; border-top: 1px solid #000000;">
345
+			<p class="copyright" style="text-align: center;">&copy; Avalanche Network <%= Time.now.year %></p>
346
+		</div>
347
+	</div>
348
+</footer>
349
+	

+ 3 - 0
config/locales/en.yml

@@ -277,6 +277,9 @@ en:
277 277
     by: by
278 278
     delivered: Message sent!
279 279
     not_delivered: There was an error and the message was not sent.
280
+    email_contact: contact
281
+    location: Location
282
+    current_location: 'São Paulo, Brazil'
280 283
   registration:
281 284
     sign_in: Sign In
282 285
     sign_up: Sign Up

+ 1 - 1
config/locales/landing_page.en.yml

@@ -5,7 +5,7 @@ en:
5 5
     about_title: 'What is Avalanche Network?'
6 6
     about_text: '<p class="lead">A plataform for crowdsourcing complex actions with multiple agents.</p><p class="lead">A kickstarter where all participants have to execute tasks.</p><p class="lead">Participate in a mission or create your own!</p>'
7 7
     feature_headline_1: 'Participate in a mission'
8
-    feature_text_1: 'Be part of something bigger. Discover new things. Meet new people or find your frinds and do something together.'
8
+    feature_text_1: 'Be part of something bigger. Discover new things. Meet new people or find your friends and do something together.'
9 9
     feature_headline_2: 'Create a mission'
10 10
     feature_text_2: 'Be a mission operator and orchestrate your network of agents to acomplish great things.'
11 11
     feature_1_item_1: 'Receive mission proposals based on your interests and network'

+ 4 - 4
config/locales/landing_page.pt_BR.yml

@@ -1,15 +1,15 @@
1 1
 pt-BR:
2 2
   landing_page:
3
-    tagline: 'Plataforma para iniciar missiões'
4
-    tagline_subtext: 'Participe e organize ações complexas envolvendo várias pessoas'
5
-    about_title: 'O que é o Avlanche Network?'
3
+    tagline: 'Plataforma de missiões'
4
+    tagline_subtext: 'Participe e organize ações envolvendo várias pessoas'
5
+    about_title: 'O que é o Avalanche Network?'
6 6
     about_text: '<p class="lead">Uma plataforma para juntar pessoas para executar ações complexas.</p><p class="lead">Um sistema de crowdsourcing onde os participantes tem que executar tarefas em troca de recompensas.</p><p class="lead">Participe de uma missão ou crie uma nova!</p>'
7 7
     feature_headline_1: 'Participe de uma missão'
8 8
     feature_text_1: 'Faça parte de algo maior. Descubra coisas novas. Conheça novas pessoas ou encontre seus amigos e faça algo juntos.'
9 9
     feature_headline_2: 'Crie uma missão'
10 10
     feature_text_2: 'Seja um cordenador de missões e orquestre sua rede de agentes para executar grandes coisas.'
11 11
     feature_1_item_1: 'Receba propostas de missões baseadas no seus interesses e contatos'
12
-    feature_1_item_2: 'Participe da conversa usando o chat em cada missão'
12
+    feature_1_item_2: 'Participe da conversa usando o chat da missão'
13 13
     feature_1_item_3: 'Execute passos da missão respondendo perguntas, enviando fotos ou geo-taging'
14 14
     feature_1_item_4: 'Complete todos os objetivos de uma missão e ganhe recompensas'
15 15
     feature_2_item_1: 'Crie uma missão com multiplus agentes e passos'

+ 3 - 0
config/locales/pt-BR.yml

@@ -279,6 +279,9 @@ pt-BR:
279 279
     by: por
280 280
     delivered: Mensagem enviada com sucesso.
281 281
     not_delivered: Ocorreu um erro e a mensagem não enviada.
282
+    email_contact: contato
283
+    location: Local
284
+    current_location: 'São Paulo, Brasil'
282 285
   registration:
283 286
     sign_in: Entrar
284 287
     sign_up: Cadastro